<template>
	<view class="submit-box">
		<view class="submit-btn" @tap="clickAction">
			{{title}}
		</view>
	</view>
</template>

<script setup>
	defineProps({
		//标题
		title:{
			type:String,
			default:'下一步'
		}
	})
	const emits = defineEmits(['btnClick'])
	
	const clickAction = ()=>{
		emits('btnClick')
	}
</script>

<style lang="scss" scoped>
.submit-box{
	padding: 60rpx 30rpx;
	.submit-btn{
		background-color: $xh-theme-color;
		color: white;
		height: 90rpx;
		line-height: 90rpx;
		border-radius: 45rpx;
		font-size: 32rpx;
		text-align: center;
		font-weight: bold;
	}
}
</style>